package com.qd.panda.gas.station.ejiayou.resp.station;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 优惠
 *
 * @author sjk
 * @create 2023-02-10 11:13
 * @since 1.0.0
 */
@Data
@Accessors(chain = true)
@ToString
public class EAdvertDTO {
    /**
     * 活动标签的唯一标识
     */
    private Integer id;
    /**
     * 权重，999 为最高权重
     */
    private Integer weight;
    /**
     * 单字图标文案
     */
    private String singleWordIcon;
    /**
     * 图标内文案
     */
    private String titleWithinIcon;
    /**
     * 图标后文案
     */
    private String titleAfterIcon;

    public void freeData() {
        this.id = null;
        this.weight = null;
        this.singleWordIcon = null;
        this.titleWithinIcon = null;
        this.titleAfterIcon = null;
    }
}